Feature: Post creation and publication

Scenarios

Chart

Status

Progress

1

Passed

0.00%

Failed

0.00%
Total duration:
0m 17.406s

Scenario: Administrator publishes a post successfully with base64 images

Before 0m 0.746s
Given I navigate to Ghost page "<BASEURL>" 0m 2.772s
And I login with email "<EMAIL>" and password "<PASSWORD>" 0m 0.398s
And I should be logged in successfully 0m 2.239s
When I navigate to new post editor 0m 3.240s
And I should be in the editor 0m 0.142s
And I enter title "$name_1_a_priori" 0m 0.624s
And I enter content "$imagebase64_1_a_priori(5)" 0m 2.306s
And I click publish 0m 0.259s
And I continue to final review 0m 1.248s
And I confirm publish 0m 1.239s
Then the content should be published 0m 2.189s + Show Error
Error: Post was not published successfully
    at KrakenWorld.<anonymous> (/Users/usuario1/Documents/mastertrack/Semestre 1 - ciclo 2/Automa/202515-proyecto-equipo-4/e2e/misw-4103-kraken/features/web/step_definitions/step00.js:147:15)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
After 0m 0.004s

Screenshots

Before
NO IMAGE AVAILABLE
Given I navigate to Ghost page "<BASEURL>"
And I login with email "<EMAIL>" and password "<PASSWORD>"
And I should be logged in successfully
When I navigate to new post editor
And I should be in the editor
And I enter title "$name_1_a_priori"
And I enter content "$imagebase64_1_a_priori(5)"
And I click publish
And I continue to final review
And I confirm publish
Then the content should be published
After
NO IMAGE AVAILABLE